﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SilverTile
{

    public interface ISprite : IRenderable
    {
        //int[] Pixels { get; }
        int X { get; set; }
        int Y { get; set; }
        Boolean Blocking { get; set; }

        IViewport Viewport { get; set; }

        Collision CollidesWithDir(ISprite otherSprite);
        Collision CollidesWithDir(ISprite otherSprite, int expandBy);
        Collision CollidesWithDir(ISprite otherSprite, int x, int y, int expandBy);
        bool CollidesWith(ISprite otherSprite);
        bool CollidesWith(ISprite otherSprite, int x, int y);
        bool CollidesWith(ISprite otherSprite, int x, int y, int expandBy);

    }

}
